package com.zy.service.bs;

import com.zy.entity.bs.CustomerClubApply;
import com.zy.pojo.query.bs.CustomerClubApplyQuery;
import com.zy.pojo.vos.common.PageVo;
import com.zy.service.base.BaseService;

import java.util.List;

public interface CustomerClubApplyService extends BaseService<CustomerClubApply> {

	/**
	 * 分页
	 * 
	 * @param customerClubApply
	 * @param start
	 * @param limit
	 * @return
	 */
	PageVo pageCustomerClubApply(CustomerClubApplyQuery customerClubApplyQuery, Integer start, Integer limit);

	/**
	 * 新增
	 * 
	 * @param customerClubApply
	 */
	void saveCustomerClubApply(CustomerClubApply customerClubApply);
	
	/**
	 * 更新
	 *
	 * @param customerClubApply
	 */
	void updateCustomerClubApply(CustomerClubApply customerClubApply);

	/**
	 * 删除
	 * 
	 * @param id
	 */
	void removeCustomerClubApply(long id);

	/**
	 * 恢复
	 * 
	 * @param id
	 */
	void recover(long id);

	/**
	 * 俱乐部入会审核
	 * @param customerClubApply
	 */
	void checkCustomer(CustomerClubApply customerClubApply);

	List<CustomerClubApply> getCustomerClubApply(Long customerId);

	/**
	 * 俱乐部申请
	 * @param customerClubApply
	 */
	void regiestCustomerCulb(CustomerClubApply customerClubApply);


}
